<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    app:startDestination="@id/loginFragment">


    <activity
        android:id="@+id/activityMain"
        android:name="youngdevs.production.youngmoscow.presentation.ui.activity.MainActivity"
        android:label="MainActivity" />

    <fragment
        android:id="@+id/loginFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.LoginFragment"
        android:label="Login"
        tools:layout="@layout/fragment_login">
        <action
            android:id="@+id/action_loginFragment_to_registrationFragment"
            app:destination="@id/registrationFragment" />
        <action
            android:id="@+id/action_loginFragment_to_navigation_main"
            app:destination="@id/mainFragment" />
    </fragment>
    <fragment
        android:id="@+id/registrationFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.RegistrationFragment"
        android:label="RegistrationFragment"
        tools:layout="@layout/fragment_registration">
        <action
            android:id="@+id/action_registrationFragment_to_navigation_main"
            app:destination="@id/mainFragment" />
        <action
            android:id="@+id/action_registrationFragment_to_loginFragment"
            app:destination="@id/loginFragment" />
    </fragment>

    <fragment
        android:id="@+id/settingsFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.SettingsFragment"
        android:label="fragment_settings"
        tools:layout="@layout/fragment_settings">
        <action
            android:id="@+id/action_settingsFragment_to_profileFragment"
            app:destination="@id/profileFragment" />
        <action
            android:id="@+id/action_settingsFragment_to_sightseeingsFragment"
            app:destination="@id/sightseeingsFragment" />
        <action
            android:id="@+id/action_settingsFragment_to_languageFragment"
            app:destination="@id/languageFragment" />
        <action
            android:id="@+id/action_settingsFragment_to_favoriteEventsFragment"
            app:destination="@id/favoriteEventsFragment" />
    </fragment>

    <fragment
        android:id="@+id/mapsFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.MapsFragment"
        android:label="MapsFragment"
        tools:layout="@layout/fragment_maps" />

    <fragment
        android:id="@+id/mainFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.MainFragment"
        android:label="fragment_main"
        tools:layout="@layout/fragment_main">
        <action
            android:id="@+id/action_mainFragment_to_mapsFragment"
            app:destination="@id/mapsFragment">
            <argument
                android:name="address"
                app:argType="string" />
        </action>
    </fragment>

    <fragment
        android:id="@+id/profileFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.ProfileFragment"
        android:label="ProfileFragment" />
    <fragment
        android:id="@+id/sightseeingsFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.SightseeingsFragment"
        android:label="SightseeingsFragment" />
    <fragment
        android:id="@+id/languageFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.LanguageFragment"
        android:label="fragment_language"
        tools:layout="@layout/fragment_language" />
    <fragment
        android:id="@+id/favoriteEventsFragment"
        android:name="youngdevs.production.youngmoscow.presentation.ui.fragments.FavoriteEventsFragment"
        android:label="fragment_favorite_events"
        tools:layout="@layout/fragment_favorite_events" />
</navigation>